package _06继承概述;
//子类-教师类
public class Teacher extends Person{

    //教师类特有的教书方法
    public void teach(){
        System.out.println("教书育人");
    }
}
